\documentclass{beamer}

\usepackage[francais]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{beamerthemesplit}

<?php if ($theme): ?>
\usetheme{<?php echo $theme ?>}
<?php endif ?>
<?php if ($colortheme): ?>
\usecolortheme{<?php echo $colortheme ?>}
<?php endif ?>

<?php if ($title): ?>
\title<?php echo $title_short ? '['. $title_short .']' : '' ?>{<?php echo $title ?>}
<?php endif ?>
<?php if ($author): ?>
\author<?php echo $author_short ? '['. $author_short .']' : '' ?>{<?php echo $author ?>}
<?php endif ?>
<?php if ($date): ?>
\date<?php echo $date_short ? '['. $author_short .']' : '' ?>{<?php echo $date ?>}
<?php endif ?>
<?php if ($institute): ?>
\institute<?php echo $institute_short ? '['. $institute_short .']' : '' ?>{<?php echo $institute ?>}
<?php endif ?>

\begin{document}
